package com.vken.blog.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.vken.blog.model.Link;

@Transactional
public interface LinkManager {
	public void insert(Link link, Integer blogId);

	@Transactional(readOnly = true)
	public Link get(Integer id);

	public void delete(Integer id);

	@Transactional(readOnly = true)
	public List<Link> list(Integer blogId);

	public void update(Link link);

}
